package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 称号

type DanceTitle struct {
	Id        int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	TitleNo   int64          `json:"titleNo" gorm:"column:title_no;type:int;default:0;not null;comment:0:称号编号;"` //等级
	Title     string         `json:"title" gorm:"column:title;type:varchar(100);not null;default:'';comment:称号名称"`
	Icon      string         `json:"icon" gorm:"column:icon;type:varchar(500);not null;default:'';comment:称号图标"`
	ElementNo int64          `json:"elementNo" gorm:"column:element_no;type:int;default:0;not null;comment:0:散件编号;"`
	CreatedAt time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
